<template>
  <div v-html="html">
  </div>
</template>
  
  <script>
import axios from "axios";

export default {
  props: {
    url: String,
  },
  data() {
    return {
      html: "",
    };
  },
  methods: {
    doCommodityIntroduce() {
      let param = {
        accept: "text/html, text/plain",
      };

      axios
        .get(this.url, param)
        .then((response) => {
          this.html = response.data;
        })
    },
  },
  updated() {
    this.doCommodityIntroduce();
  },
};
</script>